<template >
        <div class="smoke">
          <div class="smoke-name">{{items.name}}</div>
          <div class="isid" style="display:none">{{items.deviceid}}</div>
          <img class="smoke-main" v-bind:class="{active:items.isActive}"  src="../../../assets/yg.png" height="37" width="40">
          <el-badge v-if="items.isnull" value="采集超时" ></el-badge>
        </div>
</template>
<script>
export default {
  name:'smoke',
  props:["items"],
  data () {
    return {
    }
  },
  methods: {
  }
}
</script>
<style scope>
  .firemian ul{
    width: 100%;
    height: 100%;
    position: relative;
  }
  .firemian ul li{
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: move;
  }
  .fire{
    position: absolute;
    left: 50px;
    top: 60px;
    z-index: 6;
  }
  .smoke-main{
    height: 37px;
    width: 40px;
    margin-left:28px;
    margin-top: 10px;
    border:5px solid transparent;
    border-radius: 50%;
  }
  .smoke .active{
     border-color: red;
     box-shadow: 0px 0px 30px red;
  }
  .smoke-name{
    width: 100px;
    height: 20px;
    text-align: center;
    letter-spacing: 2px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #0080C0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #0080C0;
    color:#fff;
    border-radius: 4px;
  }
</style>